import i18n from '@/language/index'

export const t = i18n.global.t

export default function ClassificationModel(id, className, keywords = []) {
    this.id = id;
    this.className = className;
    this.keywords = keywords;

    this.rules = {
        className: [
            {required: true, message: t('menu.1'), trigger: 'blur'},
        ],
    }
}